package com.qy139.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qy139.entity.TabMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单权限表 Mapper 接口
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
public interface TabMenuMapper extends BaseMapper<TabMenu> {
    List<String> findMenuNameByUid(Integer id);
    /*获取导航菜单资源*/
    List<TabMenu> findAllMenu();
    /*获取按钮资源*/
    List<TabMenu> findAllMenusBtn();
}
